
<ion-header class="tab-mine-header">
  <ion-navbar hideBackButton="true">
    <ion-title>我的</ion-title>
  </ion-navbar>
</ion-header>

<ion-content class="tab-mine-section">

  <!--<div class="chart-header">
    <chart *ngIf="charts" [type]="charts.type" [data]="charts.data" [options]="charts.options"></chart>
    <ul class="all-title" *ngIf="userInfo" >
      <li>总额度(元)</li>
      <li>{{userInfo.allLimit}}</li>
    </ul>
    <div class="surplus_limit" *ngIf="userInfo">剩余可借:&nbsp;<span>{{userInfo.surplusLimit}}</span></div>
    <div class="chart-mask"></div>
  </div>-->
  <ion-list-header (click)="doAuthenticationCenter()">
    <a ion-item no-lines>
      <ion-avatar item-left>
        <img *ngIf="idInfo" [src]="idInfo.livingImg">
        <ion-img *ngIf="!idInfo"></ion-img>
      </ion-avatar>
      <h2 *ngIf="idInfo">{{idInfo.realname}}</h2>
      <h2 *ngIf="!idInfo">完善资料</h2>
      <p *ngIf="idInfo">{{idInfo.liveAddress}}</p>
      <p *ngIf="!idInfo"></p>
    </a >
  </ion-list-header>

  <!--<ion-list class="user-info" (click)="doAuthenticationCenter()">
    <a ion-item>
      <p float-left><img src="assets/img/mine/me-info.svg" /></p>
      <span float-left>完善资料</span>
    </a>
  </ion-list>-->

  <ion-list>
    <a ion-item (click)="doBindBankCard()">
      <p float-left><img src="assets/img/mine/me-bank.svg" /></p>
      <span float-left>收款银行卡</span>
    </a>
  </ion-list>

  <ion-list>

    <a ion-item (click)="doBorrowOrder()">
      <p float-left><img src="assets/img/mine/me-history.svg" /></p>
      <span float-left>借款记录</span>
    </a>
    <a ion-item (click)="doHelpCenter()">
      <p float-left><img src="assets/img/mine/me-help.svg" /></p>
      <span float-left>帮助中心</span>
    </a>
  </ion-list>

  <ion-list>
    <a ion-item (click)="doSettings()">
      <p float-left><img src="assets/img/mine/me-setting.svg" /></p>
      <span float-left>设置</span>
    </a>
  </ion-list>

  <ion-refresher (ionRefresh)="executeRefresh($event)">
    <ion-refresher-content></ion-refresher-content>
  </ion-refresher>

</ion-content>
